package com.cooper.init;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cooper.dao.mixuan.AreaInfo;
import com.cooper.dao.mixuan.AreaInfoDAO;

@Service
public class AreaInfoService {

	protected Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Autowired
	private AreaInfoDAO areaInfoDao;
	
	public List<AreaInfo> getAreaInfoListByParentId(long parentAreaId) throws Exception{
		return this.areaInfoDao.getAreaInfoListByParentId(parentAreaId);
	}
}
